package spring.j2024_11_17_3;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import spring.j2024_11_17_3.service.UserService;

@SpringBootApplication
public class J202411173Application {

    public static void main(String[] args) {
        ApplicationContext context = SpringApplication.run(J202411173Application.class, args);
        UserService service = context.getBean(UserService.class);
        service.say();


    }

}
